class Page < ActiveRecord::Base
	validates_presence_of :body, :on => :create, :message => "can't be blank"
	validates_length_of :title, :within => 3..255, :on => :create, :message => "must be present"
	validates_length_of :author, :within => 3..255, :on => :create, :message => "must be present"
end
